package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Service;

public interface AdSensitiveService extends IService<AdSensitive> {
    // 查询敏感词
    ResponseResult findSensitive(SensitiveDTO sensitiveDTO);

    // 添加敏感词
    ResponseResult addSensitive(AdSensitive adSensitive);

    // 修改敏感词
    ResponseResult updateSensitive(AdSensitive adSensitive);

    // 删除敏感词
    ResponseResult deleteSensitive(Integer id);
}
